<div class="path"><i class="iconfont">&#xf108;</i>  <a href="{url('admin/index/welcome')}">开始</a> / 欢迎页面</div>
<div class="m10">
<div class="tipbox tipbox-wait">
    <div class="tipbox-icon"><i class="iconfont" title="警告">&#xf05a;</i></div>
    <div class="tipbox-content"><h3 class="tipbox-title">友情提示：<span class="red">{$group['name']}[{$userInfo['username']}],欢迎您使用{$appconfig['APP_NAME']}，您本次登录时间为{date('Y-m-d H:i:s',$userInfo['login_time'])}，登录IP为 {$userInfo['login_ip']}</span></h3></div>
</div>
<div class="table-head mt10"><i class="iconfont">&#xf0ca;</i> <strong>程序说明</strong></div>
<table class="table table-th">
    <tr>
    <th class="w100">系统环境:</th><td>{if PATH_SEPARATOR==':'}Linux{else}WinNT{/if}/{$_SERVER['SERVER_SOFTWARE']}</td></tr>
    <tr><th>服务器地址:</th><td>{$_SERVER['SERVER_ADDR']}:{$_SERVER['SERVER_PORT']}</td></tr>
    <tr><th>服务器时间:</th><td>{date('Y-m-d H:i:s',$_SERVER['REQUEST_TIME'])}</td></tr>
    <tr><th>脚本超时时间:</th><td><?php echo get_cfg_var("max_execution_time") ; ?> 秒</td></tr>
    <tr><th>支持上传大小</th><td><?php echo get_cfg_var("upload_max_filesize")?get_cfg_var("upload_max_filesize"):"不允许上传文件" ; ?></td></tr>
    <tr><th>被屏蔽的函数:</th><td style="word-break:break-all;word-wrap:break-word"><?php echo get_cfg_var("disable_functions")?get_cfg_var("disable_functions"):"无" ; ?></td></tr>
    <tr><th>程序系统目录:</th><td>{ROOT_PATH}</td></tr>
</table>
<div class="table-head mt10"><i class="iconfont">&#xf0ca;</i> <strong>程序说明</strong></div>
<table class="table table-th">
    <tr><th class="w100">程序名称:</th><td>{$appconfig['APP_NAME']} v{$appconfig['APP_VER']}</td></tr><tr>
    <th>最新版本:</th><td id="version"><span class="badge bg-blue pt" url="{url('apps/version')}" uid="version">检查版本</span> 查询需10秒左右</td></tr>
    <tr><th>开发团队:</th><td>知行网络(子夜),独享网络(Life),CanPHP框架(单骑闯天下)</td></tr>
    <tr><th>程序信息:</th><td>PHP+MYsql/Sqlite,CanPHP</td></tr>
    <tr><th>商业授权:</th><td id="vip"><span class="badge bg-blue pt"  url="{url('apps/vip')}" uid="vip">查询授权</span> 查询需10秒左右</td></tr>
</table>
<script type="text/javascript">
Do('base','dialog',function(){
    $("#news").load('{url('apps/news')}');
    $('.badge').click(function(){
        var url = $(this).attr("url");
        var uid = $(this).attr("uid");
        $("#"+uid).html('<img src="{PUBLIC_URL}admin/loading.gif">');
        $.post(url,{},function(data){$("#"+uid).html(data);},'html');
    })
})
</script>